package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 房屋信息对象 a_housing
 *
 * @author gf
 * @date 2024-11-23
 */
public class AHousing extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 店铺类型（1商铺2厂房3档口4仓库5找店） */
    @Excel(name = "店铺类型", readConverterExp = "1=商铺2厂房3档口4仓库5找店")
    private Long isType;

    /** 联系人 */
    @Excel(name = "联系人")
    private String name;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    @Excel(name = "所在省")
    private String provinceId;

    @Excel(name = "所在市")
    private String cityId;

    /** 所在区域 */
    @Excel(name = "所在区域")
    private String region;

    /** 所在区域全称 */
    @Excel(name = "所在区域全称")
    private String regionAllName;

    /** 图片 */
    @Excel(name = "图片")
    private String picture;

    /** 视频 */
    @Excel(name = "视频")
    private String video;

    /** 性质/用途ID */
    @Excel(name = "性质/用途ID")
    private Long natureId;

    /** 设施优势ID(多选) */
    @Excel(name = "设施优势ID(多选)")
    private String advanageId;

    /** 是否急转0是1否（默认1） */
    @Excel(name = "是否急转0是1否", readConverterExp = "默=认1")
    private String isQuick;

    /** 转让出租 1是2否3求租（默认1。3用于找店） */
    @Excel(name = "转让出租 1是2否3求租", readConverterExp = "默=认1。3用于找店")
    private String isLease;

    /** 转出面积 */
    @Excel(name = "转出面积")
    private String areaNum;

    /** 租金 */
    @Excel(name = "租金")
    private String rent;

    /** 转让费（不填为面议） */
    @Excel(name = "转让费", readConverterExp = "不=填为面议")
    private String transferFee;

    /** 转让标语--5不适用 */
    @Excel(name = "转让标语--5不适用")
    private String areaTitle;

    /** 详情描述 */
    @Excel(name = "详情描述")
    private String areaDetails;

    /** 访问量 */
    @Excel(name = "访问量")
    private Integer visitNum;

    /** 曝光量 */
    @Excel(name = "曝光量")
    private Integer exposureNum;

    /** 电话查看 */
    @Excel(name = "电话查看")
    private Integer phoneNum;

    /** 房源类型（1商铺2厂房3档口4仓库） */
    @Excel(name = "房源类型", readConverterExp = "1=商铺2厂房3档口4仓库")
    private Long isShop;

    /** 是否急租（适用于找房） */
    @Excel(name = "是否急租", readConverterExp = "适=用于找房")
    private String isUrgentRental;

    /** 租金预算id */
    @Excel(name = "租金预算id")
    private Long budgetId;

    /** 面积预算id */
    @Excel(name = "面积预算id")
    private Long areaId;

    /** 是否发布 1是2否3申请中 */
    @Excel(name = "是否发布 1是2否3申请中")
    private String isRelease;

    /** 不通过原因 */
    @Excel(name = "不通过原因")
    private String isReDetails;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 逻辑删除 */
    private Long delFlag;

    /** 是否上线 */
    @Excel(name = "是否上线")
    private String isShow;

    /** 排序 */
    @Excel(name = "排序")
    private Integer numSoft;

    /** 是否置顶 */
    @Excel(name = "是否置顶")
    private String isTop;

    private String topLevel;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "是否置顶")
    private Date topTime;

    @Excel(name = "市和区展示")
    private String isCity;

    @Excel(name = "是否支付")
    private String isPay;


    @Excel(name = "支付时间")
    private Date payTime;

    @Excel(name = "H5行业用途")
    private Long industryId;

    @Excel(name = "H5前端查询用途")
    private String hindustryId;

    @Excel(name = "H5前端查询用途中文")
    private String hindustryName;

    @Excel(name = "更新数据时间")
    private Date dataTime;

    @Excel(name = "数据录入方式")
    private String isUpload;

    private String isGood;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setIsType(Long isType)
    {
        this.isType = isType;
    }

    public Long getIsType()
    {
        return isType;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setRegion(String region)
    {
        this.region = region;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getRegion()
    {
        return region;
    }
    public void setPicture(String picture)
    {
        this.picture = picture;
    }

    public String getPicture()
    {
        return picture;
    }
    public void setVideo(String video)
    {
        this.video = video;
    }

    public String getVideo()
    {
        return video;
    }

    public Long getNatureId() {
        return natureId;
    }

    public void setNatureId(Long natureId) {
        this.natureId = natureId;
    }

    public String getAdvanageId() {
        return advanageId;
    }

    public void setAdvanageId(String advanageId) {
        this.advanageId = advanageId;
    }

    public void setIsQuick(String isQuick)
    {
        this.isQuick = isQuick;
    }

    public String getIsQuick()
    {
        return isQuick;
    }
    public void setIsLease(String isLease)
    {
        this.isLease = isLease;
    }

    public String getIsLease()
    {
        return isLease;
    }
    public void setAreaNum(String areaNum)
    {
        this.areaNum = areaNum;
    }

    public String getAreaNum()
    {
        return areaNum;
    }
    public void setRent(String rent)
    {
        this.rent = rent;
    }

    public String getRent()
    {
        return rent;
    }
    public void setTransferFee(String transferFee)
    {
        this.transferFee = transferFee;
    }

    public String getTransferFee()
    {
        return transferFee;
    }
    public void setAreaTitle(String areaTitle)
    {
        this.areaTitle = areaTitle;
    }

    public String getAreaTitle()
    {
        return areaTitle;
    }
    public void setAreaDetails(String areaDetails)
    {
        this.areaDetails = areaDetails;
    }

    public String getAreaDetails()
    {
        return areaDetails;
    }
    public void setVisitNum(Integer visitNum)
    {
        this.visitNum = visitNum;
    }

    public Integer getVisitNum()
    {
        return visitNum;
    }
    public void setExposureNum(Integer exposureNum)
    {
        this.exposureNum = exposureNum;
    }

    public Integer getExposureNum()
    {
        return exposureNum;
    }
    public void setPhoneNum(Integer phoneNum)
    {
        this.phoneNum = phoneNum;
    }

    public Integer getPhoneNum()
    {
        return phoneNum;
    }
    public void setIsShop(Long isShop)
    {
        this.isShop = isShop;
    }

    public Long getIsShop()
    {
        return isShop;
    }
    public void setIsUrgentRental(String isUrgentRental)
    {
        this.isUrgentRental = isUrgentRental;
    }

    public String getIsUrgentRental()
    {
        return isUrgentRental;
    }
    public void setBudgetId(Long budgetId)
    {
        this.budgetId = budgetId;
    }

    public Long getBudgetId()
    {
        return budgetId;
    }
    public void setAreaId(Long areaId)
    {
        this.areaId = areaId;
    }

    public Long getAreaId()
    {
        return areaId;
    }
    public void setIsRelease(String isRelease)
    {
        this.isRelease = isRelease;
    }

    public String getIsRelease()
    {
        return isRelease;
    }
    public void setIsReDetails(String isReDetails)
    {
        this.isReDetails = isReDetails;
    }

    public String getIsReDetails()
    {
        return isReDetails;
    }
    public void setIsTop(String isTop)
    {
        this.isTop = isTop;
    }

    public String getIsTop()
    {
        return isTop;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setDelFlag(Long delFlag)
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag()
    {
        return delFlag;
    }
    public void setIsShow(String isShow)
    {
        this.isShow = isShow;
    }

    public String getIsShow()
    {
        return isShow;
    }
    public void setNumSoft(Integer numSoft)
    {
        this.numSoft = numSoft;
    }

    public Integer getNumSoft()
    {
        return numSoft;
    }

    public Date getTopTime() {
        return topTime;
    }

    public void setTopTime(Date topTime) {
        this.topTime = topTime;
    }

    public String getIsCity() {
        return isCity;
    }

    public void setIsCity(String isCity) {
        this.isCity = isCity;
    }

    public String getIsPay() {
        return isPay;
    }

    public void setIsPay(String isPay) {
        this.isPay = isPay;
    }

    public String getTopLevel() {
        return topLevel;
    }

    public void setTopLevel(String topLevel) {
        this.topLevel = topLevel;
    }

    public Long getIndustryId() {
        return industryId;
    }

    public void setIndustryId(Long industryId) {
        this.industryId = industryId;
    }

    public String getHindustryId() {
        return hindustryId;
    }

    public void setHindustryId(String hindustryId) {
        this.hindustryId = hindustryId;
    }

    public String getHindustryName() {
        return hindustryName;
    }

    public void setHindustryName(String hindustryName) {
        this.hindustryName = hindustryName;
    }

    public Date getDataTime() {
        return dataTime;
    }

    public void setDataTime(Date dataTime) {
        this.dataTime = dataTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getRegionAllName() {
        return regionAllName;
    }

    public void setRegionAllName(String regionAllName) {
        this.regionAllName = regionAllName;
    }

    public String getIsUpload() {
        return isUpload;
    }

    public void setIsUpload(String isUpload) {
        this.isUpload = isUpload;
    }

    public String getIsGood() {
        return isGood;
    }

    public void setIsGood(String isGood) {
        this.isGood = isGood;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("isType", getIsType())
            .append("name", getName())
            .append("phone", getPhone())
            .append("region", getRegion())
            .append("picture", getPicture())
            .append("video", getVideo())
            .append("natureId", getNatureId())
            .append("advanageId", getAdvanageId())
            .append("isQuick", getIsQuick())
            .append("isLease", getIsLease())
            .append("areaNum", getAreaNum())
            .append("rent", getRent())
            .append("transferFee", getTransferFee())
            .append("areaTitle", getAreaTitle())
            .append("areaDetails", getAreaDetails())
            .append("visitNum", getVisitNum())
            .append("exposureNum", getExposureNum())
            .append("phoneNum", getPhoneNum())
            .append("isShop", getIsShop())
            .append("isUrgentRental", getIsUrgentRental())
            .append("budgetId", getBudgetId())
            .append("areaId", getAreaId())
            .append("isRelease", getIsRelease())
            .append("isReDetails", getIsReDetails())
            .append("isTop", getIsTop())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .append("isShow", getIsShow())
            .append("numSoft", getNumSoft())
            .toString();
    }
}
